home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / midi / gfft.lha / gfft-2.03 / INSTALLATION-PROBLEMS < prev    next >
Text File  |  1994-08-30  |  18KB  |  433 lines

  1.             Installation Instructions for GFFT
  2.             ------------ ------------ --- ----
  3.  
  4.     In most cases, steps 1-4 are all that should be necessary:
  5.  
  6.     1) Get GNUPLOT and install it in C:
  7.     2) If your GNUPLOT is from a WinGnuPlot distribution,
  8.        rename .gfft-WinGnuPlot to .gfft
  9.     3) If you have a hardware Floating Point Unit (68881, 68882,
  10.        or standard 68040 with FPU) and a 68020 or better processor,
  11.        you can delete GFFT and rename GFFT-FPU to GFFT.
  12.     4) You're ready.  Click on the PianoLowC.iff icon, then on OK on
  13.        the bottom right of the GFFT Dialog Window, and enjoy.
  14.  
  15.     If you have problems, check for missing C: commands and/or
  16.     sys:utilities/more.  (Do not delete gfft.help or COPYING from the
  17.     GFFT directory.)  Then read the rest of this document and/or the
  18.     BUGS document.
  19.  
  20.     There is a lengthy discussion of how to get a copy of GNUPLOT
  21.     below.
  22.  
  23.  
  24.     OVERVIEW
  25.     --------
  26.     
  27.     GFFT requires the program GNUPLOT, which is available separately
  28.     because it is written by other authors .  Although GNUPLOT is a
  29.     CLI-based program, you will not have to use the CLI because GFFT
  30.     will invoke GNUPLOT for you automatically. 
  31.  
  32.     If you already have installed GNUPLOT, you might already be ready
  33.     to run GFFT from this unpacked archive.  But, reading this file
  34.     first might help you to avoid a few problems.  If you don't have
  35.     GNUPLOT yet, you will be still be able to examine the GFFT
  36.     interface and options, access the built-in help documentation, and
  37.     even analyze sample files (writing the results to named text
  38.     files), but you will not be able to see the results plotted on your
  39.     screen (or printer).
  40.  
  41.     In most cases, you will not actually have to do very much if
  42.     anything to run GFFT after installing GNUPLOT, but this file is a
  43.     little long because I have tried to deal with many possible cases.
  44.  
  45.     Once you have everything set up, you can simply click on the
  46.     PianoLowC.iff icon, which will invoke GFFT to analyze the sample
  47.     file.  Then, click on the OK gadget in the bottom right of the GFFT
  48.     dialog window, and in a few seconds you will see the spectrum of a
  49.     low C piano note. 
  50.  
  51.  
  52.     REQUIREMENTS
  53.     ------------
  54.  
  55.     GFFT requires an Amiga with Workbench 1.3 (V34) or higher and 1.5
  56.     Mb of RAM.  It can be run on some systems with as little as 1 Mb of
  57.     RAM with reduced capabilities.  Workbench 2.0 (V37) or higher, a
  58.     hard drive or second floppy drive, and 3 Mb or more of RAM are
  59.     strongly recommended.
  60.  
  61.     1 Mb of memory is very tight.  Though I've actually done it (on a 1
  62.     Mb all chip 500...it helps to have all one kind of memory if it is
  63.     limited) note that you may have to use only 1024 bins or fewer, and
  64.     go without any extra buffers, tasks, or commodities.  In this use,
  65.     it is preferable to get an earlier version of GNUPLOT such as 3.2.
  66.     The main difficulty here is not the size of GFFT but the size of
  67.     GNUPLOT, and the fact that in normal use both have to be in memory
  68.     at the same time.  See the section below entitled 'Low On Memory'
  69.     for further help on how to run with minimal memory.
  70.  
  71.     Future releases of GFFT are likely to require more memory and
  72.     Workbench 2.0 or greater.
  73.  
  74.     If you wish to make your own audio samples, you will need your own
  75.     audio sampler hardware and software.  You can also download and/or
  76.     buy samples or import them from other systems.  GFFT currently
  77.     works only from stored sample files; it does not read data from an
  78.     audio sampler.  There are many commercial and shareware programs to
  79.     read data from an audio sampler, and most sampling hardware is
  80.     provided with suitable sampling programs to do that as well.  Some
  81.     of these sampling programs will even do real-time spectrum
  82.     analysis, though with limited resolution and without many options
  83.     available in GFFT.  The intent of GFFT is to produce the highest
  84.     quality spectrum analysis possible using FFT from a given stored
  85.     sample file, possibly of considerable length.
  86.  
  87.  
  88.     Obtaining GNUPLOT
  89.     --------- -------
  90.  
  91.     If you have not obtained GNUPLOT yet, please do so now.  It is a
  92.     very powerful program which can plot multiple graphs from functions
  93.     and/or data files on your screen or to printers or to Postscript or
  94.     TeX files. 
  95.  
  96.     Although GNUPLOT is (ordinarily) a CLI-based program, you will NOT
  97.     need to use the CLI to use it with GFFT.  GFFT will automatically
  98.     invoke GNUPLOT for you, so you will not necessarily ever need to
  99.     learn GNUPLOT commands (though, it might be to your greater
  100.     advantage to do so).
  101.  
  102.     (If you have trouble obtaining GNUPLOT from the sources below, or
  103.     would simply like to help support the development of GFFT, you
  104.     should know that I provide GNUPLOT and other useful software in the
  105.     Expanded Deluxe Distribution of GFFT.  Please see the README file
  106.     for further details.)
  107.  
  108.     There are many different versions available (on Aminet, many
  109.     CDROM's, and other fine locations).  (Comments for each version
  110.     follow in double-indented text blocks.)
  111.  
  112.     standard GNUPLOT:
  113.  
  114.         aminet:  util/gnu/gnuplot-3.5.lha
  115.  
  116.             (Note: recently this archive seems to have disappeared.  I
  117.         am trying to get it restored.  By the time you read this,
  118.         it will probably either have been restored or updated with
  119.         gnuplot-3.6.lha.  Otherwise, see other options below.)
  120.  
  121.             fish:  Gnuplot 3.2 is on AmigaLibDisk 701
  122.                Gnuplot 3.0 is on AmigaLibDisk 552
  123.  
  124.         GFFT has been tested with GNUPLOT versions 3.0 to 3.5, and
  125.         should work with others as well.  Hidden3D requires GNUPLOT
  126.         3.4 or later.  You will still be able to display 3D plots
  127.         with version 3.0, however, just without the Hidden3D
  128.         feature.
  129.  
  130.         The earlier versions of GNUPLOT (3.0 and 3.2) on Fish disks
  131.         and Gold Fish and Frozen Fish CD-ROMS are particularly
  132.         recommended for systems with limited memory, i.e. less than
  133.         2 Mb.
  134.  
  135.         (If you are reading this version of GFFT from a Fresh Fish
  136.         CD-ROM, there is a good chance Fred has also included an
  137.         updated GNUPLOT on the same CD-ROM.)
  138.  
  139.  
  140.     GNUPLOT w/GNUFIT
  141.  
  142.         Aminet: util/gnu/gnufit12gp35.lha
  143.  
  144.         (This is also available on the 3rd Aminet CD-ROM released
  145.         July 1994.)
  146.  
  147.         Until gnuplot-3.5.lha is restored, this will be the best
  148.         version of GNUPLOT for use with GFFT on Aminet, though GFFT
  149.         does not yet use the GNUFIT features.  It is too big for
  150.         use on an Amiga with 1 Mb of total ram, however, and
  151.         doesn't include the GNUPLOT help file, which would be
  152.         useful if you intended to run GNUPLOT by itself, or learn
  153.         about the hardcopy output options.  Otherwise, it works
  154.         fine with no restrictions.
  155.  
  156.         I am told that future versions of GNUPLOT (3.6 and above)
  157.         will have GNUFIT included by default.
  158.  
  159.  
  160.     WinGnuPlot (intended for MUI, but also usable w/o MUI*):
  161.  
  162.         aminet: util/gnu/WinGnuPlot.lha
  163.  
  164.         *Note that you may obtain GNUPLOT from this WinGnuPlot
  165.         archive even if you do not intend to load Magic User
  166.         Interface (MUI).  If you have obtained GNUPLOT from the
  167.         WinGnuPlot distribution, then simply rename the file
  168.         .gfft-WinGnuPlot to .gfft using the WORKBENCH rename
  169.         operation or the following CLI command:
  170.  
  171.             rename .gfft-WinGnuPlot .gfft
  172.  
  173.         DO NOT DO THIS IF YOU HAVE OBTAINED GNUPLOT FROM THE
  174.         REGULAR GNUPLOT DISTRIBUTION!
  175.  
  176.         IF YOU FAIL TO DO THIS WITH GNUPLOT FROM THE WinGnuPlot
  177.         DISTRIBUTION, YOUR SYSTEM MAY GURU WHEN RUNNING GNUPLOT!,
  178.         because otherwise this version will look for a CompuGraphic
  179.         font and crash if it doesn't find it.
  180.  
  181.         All the above .gfft file does is tell GFFT to tell GNUPLOT
  182.         to use the AMIGASCREEN terminal, instead of AMIGAWINDOW
  183.         which requires MUI and a CompuGraphic font and is the
  184.         default for the GNUPLOT from the WinGnuPlot distribution
  185.         only.  The default terminal for the standard GNUPLOT is
  186.         AMIGA, which is identical to AMIGASCREEN except in name.
  187.  
  188.         It is not possible to use the MUI WinGnuPlot features from
  189.         GFFT.  GFFT provides much more complete control over
  190.         GNUPLOT than WinGnuPlot does at this time anyway.
  191.  
  192.         If you will start GFFT from the CLI, you might wish to move
  193.         or copy the .gfft file to your S: directory so it will
  194.         always be found no matter what your current directory is
  195.         when you start GFFT.  If you will start GFFT only from the
  196.         Workbench, this is not a problem as the "current directory"
  197.         will always be the drawer in which GFFT is located, even if
  198.         you leave the icon out on the Workbench.
  199.  
  200.         If you would also like the use the GNUPLOT from the
  201.         WinGnuPlot distribution directly from the CLI, you may also
  202.         copy the .gfft-WinGnuPlot to a file named .gnuplot so that
  203.         it will also be used as a GNUPLOT startup file when GNUPLOT
  204.         is started by itself.  But note that GNUPLOT will only look
  205.         in the current directory for its startup file (unless you
  206.         have set the environmental variable GNUPLOT).  (GFFT looks
  207.         both in the current directory and in S: for its startup
  208.         file.)  One way or another, be sure the 'SET TERMINAL
  209.         AMIGASCREEN' command is given before running GNUPLOT from
  210.         the WinGnuPlot distribution unless you have MUI and a
  211.         CompuGraphic font installed.
  212.  
  213.  
  214.     Installing GNUPLOT
  215.     ---------- -------
  216.  
  217.     For the purposes of GFFT, all you really have to do is copy the
  218.     program file named GNUPLOT to your C: directory (and follow the
  219.     above instructions to create a .gfft file if you have obtained
  220.     GNUPLOT from WinGnuPlot).
  221.  
  222.     Note: You must install GNUPLOT either to your C: directory OR to
  223.     the same directory as GFFT.  It is not acceptable to install
  224.     GNUPLOT to some other directory in your default path.  Installing
  225.     GNUPLOT to your C: directory is preferable, because it works
  226.     in all cases.  Otherwise, it may not work at all (if you have
  227.     Workbench 1.3), or it may not work if you invoke GFFT from the
  228.     CLI when your current directory does not contain GNUPLOT.
  229.  
  230.     If you obtained GNUPLOT from the standard distribution, you may
  231.     also choose to set up the gnuplot.gih file in your S: directory.
  232.     This will give you interactive help while running GNUPLOT by itself
  233.     (if you choose to do that).  In the WinGnuPlot distribution, you
  234.     are provided with an AmigaGuide version of the gnuplot
  235.     documentation.
  236.  
  237.  
  238.     How to install GFFT itself
  239.     --- -- ------- ---- ------
  240.  
  241.     If you are going to run GFFT from the workbench, you can simply
  242.     leave the GFFT files in one disk or directory.  Then, as long
  243.     as you haven't stripped down your SYS: disk or partition,
  244.     everything should be OK and you can begin running GFFT.
  245.  
  246.     To use the help facilities of GFFT and a few other message
  247.     features, you should have the MORE program (supplied on
  248.     your Amiga Workbench disk) either in the usual place
  249.     (sys:utilities), in your C: directory, or in the same directory
  250.     as GFFT itself.  GFFT uses MORE automatically to display long
  251.     messages.
  252.  
  253.     If you prefer to use some text reader other than MORE, you can
  254.     create a link named MORE in your C: directory which points to it.
  255.     For example, if your preferred reader is MORE2, you could use the
  256.     following command:
  257.  
  258.         makelink c:more c:more2
  259.  
  260.     Makelink is not available in AmigaDOS 1.3.  If you still have only
  261.     that release, you might consider making a copy of your preferred
  262.     text reader named C:MORE, or renaming it to that permanently.  It
  263.     will then supercede the normal sys:utilities/more for most
  264.     applications.  Alternatively, you may make a copy of your preferred
  265.     text reader named MORE in the same directory as GFFT if you intend
  266.     to run GFFT only from the Workbench or from that directory.
  267.  
  268.     GFFT also automatically uses a few other commands which are
  269.     normally included in your C: directory or built-in to the CLI (see
  270.     COMMANDS USED below).  Both GFFT and GNUPLOT use math and other
  271.     libraries normally found in the LIBS: directory (except for
  272.     AmigaDOS 1.2 and earlier...see below).
  273.  
  274.     If you choose to copy GFFT to your C: directory to use it
  275.     exclusively from the CLI, you will want to copy COPYING and
  276.     GFFT.HELP to your S: directory so that GFFT can find them no matter
  277.     what the current directory is when GFFT is invoked.
  278.  
  279.     If you have a 68881, 68882, or 68040 with FPU and a 68020 or better
  280.     processor, you can delete the ordinary GFFT and rename the GFFT-FPU
  281.     to GFFT.  However, do not then try to run the GFFT-FPU version on
  282.     an Amiga without FPU.  It may fail to run without any warning on an
  283.     Amiga without an FPU or without a 68020 or better processor.
  284.  
  285.  
  286.     LOW ON MEMORY
  287.     --- -- ------
  288.  
  289.     First note that the memory allocated by GFFT and GNUPLOT depends
  290.     primarily on the number of BINS specified.  By default, GFFT will
  291.     use the maximum number of BINS possible, which may not be
  292.     appropriate for large sample files (and could exhaust available
  293.     memory).  Typically, spectrum analyses are done with 1024 bins
  294.     (though I prefer to use more for even higher resolution).  You may
  295.     wish to specify a smaller-than-maximum number of bins (using either
  296.     the Bins gadget in the GFFT dialog window or the BINS command
  297.     available from the CLI).  This is the first of many parameters
  298.     available to you in GFFT, though it might be the only one you ever
  299.     need to adjust.  If you routinely use a particular number of bins,
  300.     you may wish to create a .gfft startup file (or edit the existing
  301.     one created above) to add a bins command, e.g.
  302.  
  303.         bins 1024
  304.  
  305.     (The number of bins is the number of non-zero spectral frequencies
  306.     at which a spectral amplitude or power value will be computed.)
  307.  
  308.     Note also that GFFT will use the T: directory for temporary data
  309.     files.  The size of these temporary data files also depend on the
  310.     number of BINS being used.  Normally these files are fairly small,
  311.     so having T: in ram: (which is the default for AmigaDOS 1.3 and
  312.     above) should be no problem.  However, if you are short on RAM, or
  313.     if you analyze with a large number of bins, you may wish to
  314.     reassign T: to a disk.  For example, the following CLI commands
  315.     would create a t directory on sys:, and assign t: there:
  316.  
  317.         makedir sys:t
  318.         assign t: sys:t
  319.  
  320.     GNUPLOT takes up most of the memory used while GFFT is operating.
  321.     GNUPLOT is much larger than GFFT to begin with, and it also uses up
  322.     dynamic memory which depends on the number of bins being used.
  323.     Furthermore, GNUPLOT expands considerably with each release.  If
  324.     you get GNUPLOT from one of the later WinGnuPlot distributions that
  325.     has GNUFIT linked in and is even bigger, you can forget about
  326.     running in 1 Mb.  If memory is a problem, see if you can get
  327.     GNUPLOT 3.4, or an even earlier release if you are not interested
  328.     in Time-3D analysis.
  329.  
  330.     GFFT itself does not seem to require more than 4000 bytes of stack.
  331.     To be safe, I have set the icons to bring in 9000 bytes of stack.
  332.     When GNUPLOT is invoked by GFFT, it is automatically provided with
  333.     a stack of 30000.  If you get a GURU or stack overflow requester
  334.     while running GFFT, you might try a setting a larger stack in the
  335.     icon INFORMATION or in your Shell-Startup.  If you are short on
  336.     memory, you might try reducing the stack specification to 4000.
  337.     Note that AmigaDOS 2.0 or greater handles stack overflows nicely
  338.     with a requester, while 1.3 may guru on stack overflow.
  339.  
  340.     There is also a SAVEMEMORY command available in GFFT.  This will
  341.     save a fairly small amount of memory at the expense of a small
  342.     increase in execution time.  If you are running from the Workbench
  343.     you can nevertheless use the CLI button to switch into CLI mode
  344.     to give this command, and then return to the Workbench using the
  345.     WORKBENCH command.
  346.  
  347.     I have been able to run the provided sample (PianoLowC.iff) on a 1
  348.     Mb (all chip) Amiga 500 running AmigaDOS 1.3 with no extra buffers
  349.     or tasks or anything made resident and no hard drive, and with the
  350.     number of Bins set to 1024.  With hard drive added (which uses up
  351.     memory for its buffers), I had to cut the number of Bins back to
  352.     256.  I did this using an early GNUPLOT 3.5 w/o GNUFIT.  (Note:
  353.     Earlier versions of GNUPLOT are smaller, later ones are likely to
  354.     become larger).  I don't know what would happen on an Amiga
  355.     with 512K chip and 512K fast.
  356.  
  357.     If all else fails, you may be able to run GNUPLOT from the CLI
  358.     separately from GFFT.  To do this, specify an explicit file for
  359.     GFFT to write data to and cancel PLOT mode.  After GFFT has
  360.     completed, exit from GFFT and run GNUPLOT, giving it a command
  361.     like:
  362.  
  363.         plot 'myspectrum' with lines
  364.  
  365.     Using this technique, however, you will lose the features of
  366.     GFFT which control GNUPLOT for you.
  367.  
  368.  
  369.     Commands Used By GFFT
  370.     -------- ---- -- ----
  371.  
  372.     Normally, you will have all the commands used by GFFT on your
  373.     system disk or partition.  However, if you have deleted a lot of
  374.     these commands to save room, or if you are making a custom boot
  375.     disk for GFFT, the following information may be useful:
  376.  
  377.     Under AmigaDOS 2.0 or greater, GFFT uses the following commands
  378.     in your C: directory:
  379.  
  380.         delete
  381.             run
  382.             wait
  383.         which
  384.  
  385.     GFFT also uses some additional commands which are built-in to the
  386.     CLI under 2.0 or greater, but were implemented in the C: directory
  387.     for earlier releases such as 1.3:
  388.  
  389.         echo
  390.         endcli
  391.         endif
  392.         failat
  393.         if
  394.         path
  395.         stack
  396.  
  397.     GFFT also uses MORE, usually found in SYS:UTILITIES.  See above
  398.     for using other text readers.
  399.  
  400.  
  401.     ****    
  402.  
  403.     Congratulations!  You are now ready to run and enjoy GFFT!  (The
  404.     basic idea is to select a sample file, and then click the OK gadget
  405.     or give the OK command.  In between, you may adjust other
  406.     parameters if desired.)
  407.  
  408.     ****
  409.  
  410.  
  411.     1.2 (sigh)
  412.     ----------
  413.  
  414.     Special Notes For AmigaDOS 1.2
  415.  
  416.     First, in order for GFFT to invoke GNUPLOT, you will have to add
  417.     the following lines to your startup-sequence (if you haven't done
  418.     so already):
  419.  
  420.     makedir ram:T
  421.     assign T: ram:T
  422.  
  423.     This should be added immediately prior to the LOADWB command.
  424.  
  425.     However, unfortunately, GNUPLOT requires mathieeedoubtrans.library,
  426.     which is not included with AmigaDOS 1.2.  I suggest you upgrade
  427.     your OS.
  428.  
  429.     ****
  430.  
  431.     GNUPLOT is Copyright (C) 1986 - 1993 Thomas Williams, Colin Kelley.
  432.     
  433.